<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ADS1118: Config Union Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ADS1118
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">Arduino library for Texas Instruments ADS1118 chip</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="union_config-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Config Union Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Union configuration register.  
 <a href="union_config.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_a_d_s1118_8h_source.html">ADS1118.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6a595b692a95c9ee30ba05ddd39983c2"><td class="memItemLeft" ><a id="a6a595b692a95c9ee30ba05ddd39983c2"></a>
struct {</td></tr>
<tr class="memitem:a7c1b785834e5236c970e504cf25076c6"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a86063c5813b60e24dc4b53620337fb81">reserved</a>:1</td></tr>
<tr class="memdesc:a7c1b785834e5236c970e504cf25076c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Reserved" bit <br /></td></tr>
<tr class="separator:a7c1b785834e5236c970e504cf25076c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572ae977aeab156430f00a5d38481e74"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#aca5cedb4ac2d7fa28c9467bcc5dfdd30">noOperation</a>:2</td></tr>
<tr class="memdesc:a572ae977aeab156430f00a5d38481e74"><td class="mdescLeft">&#160;</td><td class="mdescRight">"NOP" bits <br /></td></tr>
<tr class="separator:a572ae977aeab156430f00a5d38481e74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a143fe9de03c811636603b7466e1ed3dc"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a384bc94c34f34120311b0fddb47fd310">pullUp</a>:1</td></tr>
<tr class="memdesc:a143fe9de03c811636603b7466e1ed3dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">"PULL_UP_EN" bit <br /></td></tr>
<tr class="separator:a143fe9de03c811636603b7466e1ed3dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a52a7306fcf667790946cb37a75ec0b"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a4ded6b547eab12b96dd4aae64ef1e54d">sensorMode</a>:1</td></tr>
<tr class="memdesc:a4a52a7306fcf667790946cb37a75ec0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">"TS_MODE" bit <br /></td></tr>
<tr class="separator:a4a52a7306fcf667790946cb37a75ec0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5f1585c7df3267bfb5ddb8054768dab"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a36aee2d940c4f67a376a93915d97a82a">rate</a>:3</td></tr>
<tr class="memdesc:af5f1585c7df3267bfb5ddb8054768dab"><td class="mdescLeft">&#160;</td><td class="mdescRight">"DR" bits <br /></td></tr>
<tr class="separator:af5f1585c7df3267bfb5ddb8054768dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17c8fa14e6640c1788798f29a34549c4"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#ab095a91d71a53f3eed6961f99c1fcc8b">operatingMode</a>:1</td></tr>
<tr class="memdesc:a17c8fa14e6640c1788798f29a34549c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">"MODE" bit <br /></td></tr>
<tr class="separator:a17c8fa14e6640c1788798f29a34549c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72230a8840405d6b7bba6dc9ca9757f"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a32de00c66e62581dd969c336ac1daae0">pga</a>:3</td></tr>
<tr class="memdesc:ac72230a8840405d6b7bba6dc9ca9757f"><td class="mdescLeft">&#160;</td><td class="mdescRight">"PGA" bits <br /></td></tr>
<tr class="separator:ac72230a8840405d6b7bba6dc9ca9757f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a715c19dfcc40b7e30057125db99ef254"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a827213c227200ea6d1495fdbd4832cbb">mux</a>:3</td></tr>
<tr class="memdesc:a715c19dfcc40b7e30057125db99ef254"><td class="mdescLeft">&#160;</td><td class="mdescRight">"MUX" bits <br /></td></tr>
<tr class="separator:a715c19dfcc40b7e30057125db99ef254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a279bb4e99ee67daafc64639b88e4ed87"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a75dfa0206a4d86658d165163040905d7">singleStart</a>:1</td></tr>
<tr class="memdesc:a279bb4e99ee67daafc64639b88e4ed87"><td class="mdescLeft">&#160;</td><td class="mdescRight">"SS" bit <br /></td></tr>
<tr class="separator:a279bb4e99ee67daafc64639b88e4ed87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a595b692a95c9ee30ba05ddd39983c2"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_config.html#a6a595b692a95c9ee30ba05ddd39983c2">bits</a></td></tr>
<tr class="memdesc:a6a595b692a95c9ee30ba05ddd39983c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure of the config register of the <a class="el" href="class_a_d_s1118.html">ADS1118</a>. (See datasheet [1]) <br /></td></tr>
<tr class="separator:a6a595b692a95c9ee30ba05ddd39983c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f72e077843f5c9e51cdeb6ef2510df9"><td class="memItemLeft" align="right" valign="top"><a id="a5f72e077843f5c9e51cdeb6ef2510df9"></a>
uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_config.html#a5f72e077843f5c9e51cdeb6ef2510df9">word</a></td></tr>
<tr class="memdesc:a5f72e077843f5c9e51cdeb6ef2510df9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Representation in word (16-bits) format. <br /></td></tr>
<tr class="separator:a5f72e077843f5c9e51cdeb6ef2510df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35780eea5f07b69335bdfd7754eb12f1"><td class="memItemLeft" ><a id="a35780eea5f07b69335bdfd7754eb12f1"></a>
struct {</td></tr>
<tr class="memitem:a833d93cd01c8448f91b9ae6ffe23ffd5"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a39309b66a0f5c8ccd880c13f0fff6b71">lsb</a></td></tr>
<tr class="memdesc:a833d93cd01c8448f91b9ae6ffe23ffd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Byte LSB. <br /></td></tr>
<tr class="separator:a833d93cd01c8448f91b9ae6ffe23ffd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a968387f3d4a78b1b38b8a33f1ef8ae06"><td class="memItemLeft" >
&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="union_config.html#a8ac34c174b84a90b17260847ddf749d7">msb</a></td></tr>
<tr class="memdesc:a968387f3d4a78b1b38b8a33f1ef8ae06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Byte MSB. <br /></td></tr>
<tr class="separator:a968387f3d4a78b1b38b8a33f1ef8ae06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35780eea5f07b69335bdfd7754eb12f1"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union_config.html#a35780eea5f07b69335bdfd7754eb12f1">byte</a></td></tr>
<tr class="memdesc:a35780eea5f07b69335bdfd7754eb12f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Representation in bytes (8-bits) format. <br /></td></tr>
<tr class="separator:a35780eea5f07b69335bdfd7754eb12f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Union configuration register. </p>
<p>Union representing the "config register" in 3 ways: bits, word (16 bits) and nibbles (4 bits) (See the datasheet [1] for more information) </p>
</div><hr/>The documentation for this union was generated from the following file:<ul>
<li><a class="el" href="_a_d_s1118_8h_source.html">ADS1118.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
